package com.naiterui.ehp.bs.consult.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.naiterui.ehp.bp.support.config.FeignConfiguration;
import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * @author luao
 * @date 2021/8/11 5:04 下午
 **/
@FeignClient(name = "emrFeignClient", url = "${ehp.domain.emr}", configuration = FeignConfiguration.class)
public interface EmrFeignClient {

    @GetMapping("/inner/patient/case/signFile")
    String caseSignPdfUrl(@RequestParam("recordId") String recordId) throws BusinessException;
}
